package com.dao.impl;

import java.io.Serializable;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.dao.FeedbackDao;
import com.enetiy.Feedback;

public class FeedbackDaoImpl extends HibernateDaoSupport implements FeedbackDao {

	
	public Serializable insertFeedback(Feedback f) throws Exception {
		return this.getHibernateTemplate().save(f);
	}

	
	public void deleteFeedback(Feedback f) throws Exception {
		this.getHibernateTemplate().delete(f);
	}

}
